home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
vol_300
/
352_01
/
wfvpath.cpp
< prev
next >
Wrap
C/C++ Source or Header
|
1991-04-22
|
492b
|
26 lines
/* WFVPATH.C
* form entry function to validate data paths
* may be either NULL or C:\path\
* must end in '\\'
* specified path must exist
*/
#include <stdlib.h>
#include "wtwg.h"
#include "dblib.h"
int wfvpath (WFORM *fm, char *buf)
{
int retcode;
retcode = validate_path ( buf );
if ( -1 == retcode )
{
wform_showerror ( fm, "Path not found" );
}
return (retcode);
}
/*----------------------- WFVPATH.C -----------------------------*/